#pragma once

#include"agreement.h"
#include"Buffer.h"
#include<memory>
#include"dataProcess.h"

class MMySql;
class TcpConnection;


namespace Data{
    void handleData(const Buffer &buffer,std::shared_ptr<TcpConnection> conn,MMySql *mysql);

    void sendData(const CloudDrive::Packet,CloudDrive::MesBack,std::shared_ptr<TcpConnection>);
};
